package cocurrency.waitnotify;

/**
 * Created by luzl on 4/6/2017.
 */
public class Lock {
    private Integer count;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public void increase(){
        count=count.intValue()+1;
    }
}
